Optimal. Leaf size=5 \[ -\sinh ^{-1}(\cot (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 5, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4122, 215} \[ -\sinh ^{-1}(\cot (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 4122
Rubi steps
\begin {align*} \int \sqrt {\csc ^2(x)} \, dx &=-\operatorname {Subst}\left (\int \frac {1}{\sqrt {1+x^2}} \, dx,x,\cot (x)\right )\\ &=-\sinh ^{-1}(\cot (x))\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.01, size = 28, normalized size = 5.60 \[ \sin (x) \sqrt {\csc ^2(x)} \left (\log \left (\sin \left (\frac {x}{2}\right )\right )-\log \left (\cos \left (\frac {x}{2}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.54, size = 19, normalized size = 3.80 \[ -\frac {1}{2} \, \log \left (\frac {1}{2} \, \cos \relax (x) + \frac {1}{2}\right ) + \frac {1}{2} \, \log \left (-\frac {1}{2} \, \cos \relax (x) + \frac {1}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.30, size = 12, normalized size = 2.40 \[ \frac {\log \left ({\left | \tan \left (\frac {1}{2} \, x\right ) \right |}\right )}{\mathrm {sgn}\left (\sin \relax (x)\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.61, size = 31, normalized size = 6.20 \[ \frac {\sin \relax (x ) \sqrt {-\frac {1}{-1+\cos ^{2}\relax (x )}}\, \ln \left (-\frac {-1+\cos \relax (x )}{\sin \relax (x )}\right ) \sqrt {4}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.58, size = 35, normalized size = 7.00 \[ -\frac {1}{2} \, \log \left (\cos \relax (x)^{2} + \sin \relax (x)^{2} + 2 \, \cos \relax (x) + 1\right ) + \frac {1}{2} \, \log \left (\cos \relax (x)^{2} + \sin \relax (x)^{2} - 2 \, \cos \relax (x) + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.20 \[ \int \sqrt {\frac {1}{{\sin \relax (x)}^2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {\csc ^{2}{\relax (x )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________